package cn.tedu.boot0903.mapper;


import cn.tedu.boot0903.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    int insert(Category category);

    List<Category> select();

    Category selectById(int id);

    int deleteById(int id);

    int deleteByIds(Integer[] ids);

    int update(Category category);

    int count();
}
